home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacUser Mac Bin 40
/
MACUSER-MACBIN40A-1997-03.ISO.7z
/
MACUSER-MACBIN40A-1997-03.ISO
/
DEMO
/
SecretsJ DEMO
/
TERORENT.DIR
/
00352_Script_352
< prev
Wrap
Text File
|
1996-12-03
|
3KB
|
122 lines
on startMovie
global MirL, MirR, lightState, leverstate,music,effects, rwobj
sdset
check_it
end
on stopmovie
sdsv
end
on idle
set tsp = checkcur(41)
case tsp of
38:docur(2)
39:docur(3)
40:docur(1)
41:docur(4)
-1:docur(0)
end case
chmenu
end idle
on Check_it
global leverstate, lightState, doorstate, MirL, MirR
if leverstate = 1 then
set the visible of sprite 6 to true
else
set the visible of sprite 6 to false
end if
if lightstate = 1 then
if leverstate = 1 then
set the visible of sprite 15 to true
set the visible of sprite 22 to true
set the visible of sprite 10 to true
if MirL = 2 then
set the visible of sprite 23 to true
else if MirL = 1 then
puppetsound "death"
go to frame "white"
set MirL = 0
set MirR = 0
else
set the visible of sprite 23 to false
end if
if MirR = 2 then
set the visible of sprite 25 to true
else if MirR = 1 then
puppetsound "death"
go to frame "white1"
set MirL = 0
set MirR = 0
else
set the visible of sprite 25 to false
end if
if MirL = 2 and MirR = 2 then
set doorstate = 1
set lightstate = false
set the visible of sprite 22 = true
updatestage
slow(60)
check_it
end if
else
set the visible of sprite 25 to false
set the visible of sprite 23 to false
set the visible of sprite 10 to true
set the visible of sprite 15 to true
set the visible of sprite 22 to false
end if
else
set the visible of sprite 25 to false
set the visible of sprite 23 to false
set the visible of sprite 10 to false
set the visible of sprite 15 to false
set the visible of sprite 22 to false
end if
if doorstate = 1 then
set the visible of sprite 13 to true
else
set the visible of sprite 13 to false
end if
if MirL = 2 then
set the visible of sprite 20 to true
set the visible of sprite 12 to false
else if MirL = 0 then
set the visible of sprite 20 to false
set the visible of sprite 12 to false
else if MirL = 1 then
set the visible of sprite 20 to false
set the visible of sprite 12 to true
end if
if MirR = 2 then
set the visible of sprite 19 to true
set the visible of sprite 21 to false
else if MirR = 0 then
set the visible of sprite 19 to false
set the visible of sprite 21 to false
else if MirR = 1 then
set the visible of sprite 19 to false
set the visible of sprite 21 to true
end if
updatestage
end check_it